<extend name="public@base"/><block name="main"><div class="wrap"><ul class="nav nav-tabs"><li class="nav-item"><a class="nav-link" href="{:url('nav/index')}">{:lang('ADMIN_NAV_INDEX')}</a></li><li class="nav-item"><a class="nav-link" href="{:url('nav/add')}">{:lang('ADMIN_NAV_ADD')}</a></li><li class="nav-item"><a class="nav-link active">{:lang('ADMIN_NAV_EDIT')}</a></li></ul><form class="form-horizontal js-ajax-form" method="post" action="{:url('nav/editPost')}"><div class="form-group form-row"><label class="col-2 col-form-label text-right"><span class="form-required"></span>名称:</label><div class="col col-lg-6"><input type="hidden" name="id" value="{$id}">
<input type="text" class="form-control" name="name" value="{$name}"></div></div><div class="form-group form-row"><label class="col-2 col-form-label text-right">备注:</label><div class="col col-lg-6"><textarea class="form-control" name="remark">{$remark}</textarea></div></div><div class="form-group form-row"><label class="col-2 col-form-label text-right">主菜单:</label><div class="col col-lg-6"><div class="checkbox"><label><php>$strMainMenuChecked=$is_main?"true":"false";</php><input type="checkbox" name="is_main" value="1" data-checked="{$strMainMenuChecked}"/></label></div></div></div><div class="col-auto offset-lg-2 btn-group"><button class="btn btn-sm btn-primary js-ajax-submit" type="submit">{:lang("SAVE")}</button><a class="btn btn-sm btn-secondary" href="{:url('Nav/index')}">返回</a></div></form></div></block>